*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: 'HeiTi';
}
body{
  background-color: #f5f6f8;
}

.header{
  height: 60px;
  background-color: #fff;
  display: flex;
  position: relative;

  .left{
    position: absolute;
    left: 20px;
    top: 0px;
    line-height: 60px;
    font-size:20px;
    font-weight: bold;
  }

  .center{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;

    select{
      width: 60px;
      height: 30px;
      margin: 0 2px;
      border: none;
      font-size: 16px;
    }
    

  }
}

/* 日历 */
.calendar{
  width: 330px;
  height: 370px;
  background-color: #ffffff;
  margin: 10px auto;
  border-radius: 10px;


  .week{
    display: flex;
    justify-content: space-around;

    div{
      width: 38px;
      height:38px;
      display: flex;
      justify-content: center;
      align-items: center;
      // background-color: black;
    }
  }

  .time{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    .active{
      background-color: #dae9ff;
      font-size: #5f9ad6;
    }

    .item{
      width: 46px;
      height:40px;
      text-align: center;
      // background-color: black;
      margin: 2px 0;

      .first{
        width: 100%;
        height: 100%;
        font-size: 16px;
        font-weight:bold;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }

  .expenditure{
    width: 100%;
    height: 60px;
    // background-color: bisque;
    border-top: 1px solid #999;
    display: flex;
    padding: 10px;
    justify-content: space-around;
    text-align: center;

    .number{
      font-weight: bold;
      font-size: 18px;
    }
    .string{
      font-size: 14px;
    }
  }
}

/* 明细 */
.details{
  width: 330px;
  // height: 110px;
  background-color: #ffffff;
  margin: 10px auto;
  border-radius: 10px;
  padding: 10px;

  .header{
    width: 100%;
    height: 20px;
    position: relative;
    left: 0;
    top: 0;
    font-weight: bold;
    border-radius: 10px;

    .time{
      position: absolute;
      left: 16px;
      top: 5px;
    }
    .income{
      position: absolute;
      left: 180px;
      top: 3.8px;
      display: flex;

      div{
        padding-top: 2px;
      }
    }
    .expenditure{
      position: absolute;
      left: 250px;
      top: 5px;
      display: flex;

      div{
        padding-top: 2px;
      }
    }
  }

  .list{
    .content{
      display: flex;
      justify-content: space-between;
      padding: 10px 18px;
      margin-top: 20px;
      border-top: 1px solid #666;
  
      .source{
        display: flex;
        position: relative;
  
        .cir{
          width: 4px;
          height: 4px;
          background-color: red;
          border-radius: 50%;
          position: absolute;
          top: 20px;
          left: 0;
        }
  
        .text{
          width: 54px;
          position: absolute;
          top: 0;
          left: 10px;
  
          .text1{
            text-align: center;
            font-size: 18px;
          }
  
          .text2{
            font-size: 12px;
            color:#999;
            text-align: center;
          }
        }
      }
      .amount{
        margin-top: 8px;
        font-size: 18px;
        color: red;
      }
    }
  }
}

/* 下方固定区域 */
.fixed{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #3b92f1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%,0);
  box-shadow: 0 4px 8px 1px #5f9ad6;

  i{
    display: block;
    transform: rotate(45deg);
    color: white;
  }
}